# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'uis/design.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again.  Do not edit this file unless you know what you are doing.


from PyQt5 import QtCore, QtGui, QtWidgets
from utils.other import iconsdir


class Ui_mainWindow(object):
    def setupUi(self, mainWindow):
        mainWindow.setObjectName("mainWindow")
        mainWindow.resize(404, 320)
        mainWindow.setMinimumSize(QtCore.QSize(0, 0))
        mainWindow.setStyleSheet("QWidget{\n"
                                 "    background-color:rgb(34, 34, 34);\n"
                                 "    color:white;\n"
                                 "}\n"
                                 "\n"
                                 "QPushButton{\n"
                                 "background-color: rgb(83, 83, 83);\n"
                                 "border-radius: 6.5px;\n"
                                 "color:black;\n"
                                 "}\n"
                                 "\n"
                                 "QPushButton:hover{\n"
                                 "background-color:rgb(52, 52, 52)\n"
                                 "}\n"
                                 "\n"
                                 "QTableWidget\n"
                                 "{\n"
                                 "background-color:rgb(255, 242, 189);\n"
                                 "border-radius: 3px;\n"
                                 "color:black;\n"
                                 "}\n"
                                 "\n"
                                 "QTableWidget QTableCornerButton::section\n"
                                 "{\n"
                                 "background-color:rgb(255, 242, 189);\n"
                                 "border: 1px outset red;\n"
                                 "}\n"
                                 "\n"
                                 "QHeaderView\n"
                                 "{\n"
                                 "background-color:  rgb(83, 83, 83);\n"
                                 "}\n"
                                 "\n"
                                 "QHeaderView::section\n"
                                 "{\n"
                                 "background-color:  rgb(83, 83, 83);\n"
                                 "color:rgb(255, 242, 189);\n"
                                 "border:1px outset rgb(181, 172, 37);\n"
                                 "border-radius: 3px;\n"
                                 "}\n"
                                 "\n"
                                 "")
        self.centralwidget = QtWidgets.QWidget(mainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.centralwidget)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.tableWidget = QtWidgets.QTableWidget(self.centralwidget)
        self.tableWidget.setMinimumSize(QtCore.QSize(318, 261))
        self.tableWidget.setObjectName("tableWidget")
        self.tableWidget.setColumnCount(3)
        self.tableWidget.setRowCount(0)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(0, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(1, item)
        item = QtWidgets.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(2, item)
        self.horizontalLayout.addWidget(self.tableWidget)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.addEvent = QtWidgets.QPushButton(self.centralwidget)
        self.addEvent.setMinimumSize(QtCore.QSize(60, 60))
        self.addEvent.setText("")
        self.addEvent.setObjectName("addEvent")
        self.verticalLayout.addWidget(self.addEvent)
        self.deleteEvent = QtWidgets.QPushButton(self.centralwidget)
        self.deleteEvent.setMinimumSize(QtCore.QSize(60, 60))
        self.deleteEvent.setText("")
        self.deleteEvent.setObjectName("deleteEvent")
        self.verticalLayout.addWidget(self.deleteEvent)
        self.settingsButton = QtWidgets.QPushButton(self.centralwidget)
        self.settingsButton.setMinimumSize(QtCore.QSize(60, 60))
        self.settingsButton.setText("")
        self.settingsButton.setObjectName("settingsButton")
        self.verticalLayout.addWidget(self.settingsButton)
        self.faqbutton = QtWidgets.QPushButton(self.centralwidget)
        self.faqbutton.setMinimumSize(QtCore.QSize(60, 60))
        self.faqbutton.setStyleSheet("QPushButton {\n"
                                     "background-repeat: no-repeat;\n"
                                     "width: 50px;\n"
                                     "    height: 50px;\n"
                                     "\n"
                                     "}\n"
                                     "\n"
                                     "QPushButton:hover {\n"
                                     "background-repeat: no-repeat;\n"
                                     "width: 50px;\n"
                                     "    height: 50px;\n"
                                     "\n"
                                     "}")
        self.faqbutton.setText("")
        self.faqbutton.setIconSize(QtCore.QSize(50, 50))
        self.faqbutton.setObjectName("faqbutton")
        self.verticalLayout.addWidget(self.faqbutton)
        self.horizontalLayout.addLayout(self.verticalLayout)
        mainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(mainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 404, 21))
        self.menubar.setObjectName("menubar")
        mainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(mainWindow)
        self.statusbar.setObjectName("statusbar")
        mainWindow.setStatusBar(self.statusbar)

        self.faqbutton.setStyleSheet("""
                    QPushButton {
                        image: url(iconsdir/faq.png);
                        background-repeat: no-repeat;
                        width: 50px;
                        height: 50px;
                    }

                    QPushButton:hover {
                        image: url(iconsdir/faq1.png);
                        background-repeat: no-repeat;
                        width: 50px;
                        height: 50px;
                    }
                """.replace("iconsdir", iconsdir))

        self.settingsButton.setStyleSheet("""
                            QPushButton {
                                image: url(iconsdir/settings.png);
                                background-repeat: no-repeat;
                                width: 50px;
                                height: 50px;
                            }

                            QPushButton:hover {
                                image: url(iconsdir/settings1.png);
                                background-repeat: no-repeat;
                                width: 50px;
                                height: 50px;
                            }
                        """.replace("iconsdir", iconsdir))
        self.settingsButton.setText('')

        self.deleteEvent.setStyleSheet("""
                                    QPushButton {
                                        image: url(iconsdir/delete.png);
                                        background-repeat: no-repeat;
                                        width: 50px;
                                        height: 50px;
                                    }

                                    QPushButton:hover {
                                        image: url(iconsdir/delete1.png);
                                        background-repeat: no-repeat;
                                        width: 50px;
                                        height: 50px;
                                    }
                                """.replace("iconsdir", iconsdir))

        self.addEvent.setStyleSheet("""
                                            QPushButton {
                                                image: url(iconsdir/add.png);
                                                background-repeat: no-repeat;
                                                width: 50px;
                                                height: 50px;
                                            }

                                            QPushButton:hover {
                                                image: url(iconsdir/add1.png);
                                                background-repeat: no-repeat;
                                                width: 50px;
                                                height: 50px;
                                            }
                                        """.replace("iconsdir", iconsdir))

        self.retranslateUi(mainWindow)
        QtCore.QMetaObject.connectSlotsByName(mainWindow)

    def retranslateUi(self, mainWindow):
        _translate = QtCore.QCoreApplication.translate
        mainWindow.setWindowTitle(_translate("mainWindow", "JoJo\'s Orginizer😎"))
        item = self.tableWidget.horizontalHeaderItem(0)
        item.setText(_translate("mainWindow", "Event"))
        item = self.tableWidget.horizontalHeaderItem(1)
        item.setText(_translate("mainWindow", "Date"))
        item = self.tableWidget.horizontalHeaderItem(2)
        item.setText(_translate("mainWindow", "Time"))
